#!/bin/bash

if [ -z "$1" ]; then
    echo "please add param .. project name"
fi

if [ ! -d  "$1" ]; then
    echo $1 "not exist"
fi

cd $1

if [ ! -d out ]; then
    mkdir out
fi

cd out
cmake ..
# cmake --build .
cmake --build . -j 4


